home *** CD-ROM | disk | FTP | other *** search
/ Technotools / Technotools (Chestnut CD-ROM)(1993).ISO / lang_c / m&tcga / read.me < prev   
Text File  |  1989-04-26  |  3KB  |  59 lines

  1.  
  2.  
  3.       Programs for use with "Graphics Programming in C"
  4.                By Roger T. Stevens
  5.  
  6.    This disk contains six archived files.  One of these contains all
  7.    of  the files for the Hercules graphics card.   If you  have  this
  8.    card, you need to copy `pkunzip.exe  and `herc.zip  to a fresh disk
  9.    and then type:
  10.  
  11.            pkunzip herc.zip
  12.  
  13.    to  dearchive all of the Hercules programs.   If you have a  CGA,
  14.    EGA or VGA,  you need to copy the `.zip'  file for your particular
  15.    card to a fresh disk, together with `demos.zip', `source.zip', and
  16.    `pkunzip.exe' and then type;
  17.  
  18.            pkunzip *.zip
  19.  
  20.    to dearchive all of the programs for your adapter card.  You will
  21.    find that there are files for the `gtools' and `gdraws' libraries,
  22.    for  use  with  Turbo  C and an `mcgraph'  library  for  use  with
  23.    Microsoft C.   In addition are source code listings for all of the
  24.    library functions,  in  case  you want to change them.   There are
  25.    also  several  demonstration  programs.   These  include  the  two
  26.    described  in Chapter 21  of "Graphics Programming in C,"   namely
  27.    `demo'  and `demo3d.   The `cursor'  program from Chapter 15,  the
  28.    `quadrics'  program from Chapter 18,  and the `image' program from
  29.    Chapter  23  are also included.   All of these programs are in the
  30.    CGA,  EGA, and VGA files.  The Hercules file does not contain part
  31.    of the three-dimensional demonstration program,  since the  shaded
  32.    figures  were  not implemented for that card.  The `gmenu' program
  33.    is  included for the CGA and EGA adapters,  but not for  the  VGA,
  34.    since  its  single  memory  page  precludes  use  of  the   window
  35.    save/restore technique.
  36.  
  37.    Turbo  C project files are included for each of the  demonstration
  38.    programs.  All you need to do to compile and run a demo program in
  39.    Turbo  C is to use the Alt-P menu selection to select the  project
  40.    file  whose  name is the same as the demo program,  then load  the
  41.    demo program and hit Alt-R to compile.
  42.  
  43.    To compile one of the demo programs with Microsoft C, you need to
  44.    type the line:
  45.  
  46.            cl demoname.c /lmcgraph.lib
  47.  
  48.    where demoname.c is the name of the desired demo program.  Then
  49.    run the `demoname.exe file that is created by the compiler and
  50.    linker.
  51.  
  52.    *************************** NOTE *********************************
  53.      References to ARCE.EXE have been changed to PKUNZIP.EXE, and all
  54.      .ARC files have been changed to .ZIP files. PKUNZIP.EXE is not
  55.      included in the .ZIP files... download PKZ092.EXE or PKZ090.EXE
  56.      from this or other any well-managed BBS to obtain a self-extrac-
  57.      ting set of files for Phil Katz ZIP archiving program.
  58.    ******************************************************************
  59.